home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
telecomm
/
uemlsrc.arc
/
shell.h
< prev
next >
Wrap
C/C++ Source or Header
|
1987-08-24
|
1KB
|
35 lines
/* shell.h header for uemail files shell.c, emcc.c, and path.c */
#include <stdio.h>
#include <ctype.h>
#include <osbind.h>
#include "ed.h"
#define GEMLOAD /* if prog was loaded from GEM give back 256K to OS */
#define MAXPATH 128
#define MAXINPUT 80
extern long adderr, buserr; /* default GEMDOS error handlers */
extern int errexit(); /* my error handler */
extern char cline[MAXINPUT+1]; /* holds the command line and other thin
gs */
extern char pnam[MAXINPUT+1]; /* program name */
extern char source[MAXINPUT+1]; /* name of file for cc() */
extern char path[MAXPATH+1]; /* current path string */
extern int delete; /* on/off for above */
extern int dolink; /* link a program */
extern int temdrv;
extern int curdrv;
/* aliases are kept in dynamically allocated tables. Space for each alias
* and its associated value is allocated as needed.
*/
typedef struct ALITAB {
struct ALITAB *a_forw; /* next table */
char *alias; /* alias */
char *value; /* actual value */
} ALITAB;
extern ALITAB *aheadp; /* structure header */